package com.hengpeng.itfin.constants;

import java.text.DecimalFormat;

public class MSConstants
{
	/**
	 * 序列格式8位
	 */
	public final static DecimalFormat deciamoFormat = new DecimalFormat("00000000");

	public static final String SYSTEM_STATUS_KEYS = "system.status";// 系统状态系统参数Key值

	public static final String SYSTEM_STATUS_RUNNING = "1";// 系统正常运行

	public static final String SYSTEM_STATUS_STOP = "0";// 系统停止

	public static String MS_WEB_PATH = "ms.web.path";

	public static final Integer BATCH_QUERY_COUNT = 200;

	public static final String BETCARDSEQUENCE_BASENO = "000000000";

	/**
	 * 无效数据（如果插入数据库中的数字代表无意义的话，使用该常量）
	 */
	public final static Long G_LONG_DATA_INVALID = -1L;

	/**
	 * 无效数据（如果插入数据库中的数字代表无意义的话，使用该常量）
	 */
	public final static Integer G_INT_DATA_INVALID = -1;

	/**
	 * 修改密保发送的序列号过期时间（单位:小时）
	 */
	public final static Integer KEY_PASS_TIME = 24;

	/**
	 * 登陆最多错误登陆次数
	 */
	public final static Integer LOGIN_ERROR_COUNT = 3;

	public static final int MAX_SIZE = 4096;

	public static final String TXT_BASE_KEY = "/txt/";

	public static final String IMAGE_BASE_KEY = "/image/";

	public static final String TXT_TEMP = "/txt/temp/";

	public static final String IMAGE_TEMP = "/image/temp/";

	/**
	 * 图片相对路径根目录
	 */

	public static final String IMAGE_DIR = "/upload/image/";

	/**
	 * 投标交易查询返回正确交易码
	 */
	public static final String INVEST_QUERY_SUCCESS = "N";

	/**
	 * 投标交易查询返回失败交易码
	 */
	public static final String INVEST_QUERY_ERROR = "C";
	
	/**
	 * 冻结解冻交易查询结果
	 */
	public static final String FREE_QUERY_F = "F";
	/**
	 * 冻结解冻交易查询结果
	 */
	public static final String FREE_QUERY_U = "U";
	
	public static final String UTF8 = "UTF-8";

	/** 字符常量定义开始 */
	public static final String CHAR_ONE = "1";

	public static final String CHAR_ZERO = "0";
	/** 字符常量定义结束 */
}
